﻿using Abp.Application.Services.Dto;
using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace ARchGL.Platform.Electrocar.Application.Dto
{
    /// <summary>
    /// 部门信息 ViewModel
    /// </summary>
    [NotMapped]
    public class ProjectUsersDto : EntityDto<Guid>
    {
        /// <summary>
        /// 项目标识（Guid）
        /// </summary>
        public Guid ProjectId { get; set; }
        /// <summary>
        /// 用户标识（long）
        /// </summary>
        public long UserId { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { get; set; }        
        /// <summary>
        /// 用户帐号
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 邮箱地址
        /// </summary>
        public string EmailAddress { get; set; }
        /// <summary>
        /// 部门标识（long）
        /// </summary>
        public long OrganizationUnitId { get; set; }
        /// <summary>
        /// 部门名称
        /// </summary>
        public string OrganizationUnitName { get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string PhoneNumber { get; set; }
        /// <summary>
        /// 角色：1技术人员，2查阅人员
        /// </summary>
        public int Type { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreationTime { get; set; }
    }
}
